package org.example.commonapi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 课程章节
 * @TableName course_chapters
 */
@TableName(value ="course_chapters")
@Data
public class CourseChapters implements Serializable {
    /**
     * 课程文件表id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 章节大标题
     */
    private String name;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}